<?php
require("../../inc/header.php");

/*
		SoftName : EmpireBak Version 2010
		Author   : wm_chief
		Copyright: Powered by www.phome.net
*/

DoSetDbChar('utf8');
E_D("DROP TABLE IF EXISTS `ecm_sgrade`;");
E_C("CREATE TABLE `ecm_sgrade` (
  `grade_id` tinyint(3) unsigned NOT NULL AUTO_INCREMENT,
  `grade_name` varchar(60) NOT NULL DEFAULT '',
  `goods_limit` int(10) unsigned NOT NULL DEFAULT '0',
  `space_limit` int(10) unsigned NOT NULL DEFAULT '0',
  `skin_limit` int(10) unsigned NOT NULL DEFAULT '0',
  `charge` varchar(100) NOT NULL DEFAULT '',
  `need_confirm` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `description` varchar(255) NOT NULL DEFAULT '',
  `functions` varchar(255) DEFAULT NULL,
  `skins` text NOT NULL,
  `sort_order` tinyint(4) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`grade_id`)
) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=utf8");
E_D("replace into `ecm_sgrade` values('1','诚信会员店','18','2','3','0元','1','诚信会员店','','default|default,default|style1,default|style2','255');");
E_D("replace into `ecm_sgrade` values('2','金牌会员店','28','50','5','800元/年','1','申请时需要上传身份证和营业执照复印件','editor_multimedia,coupon,groupbuy','default|default,default|style1,default|style2,default|style3,default|style4','255');");
E_D("replace into `ecm_sgrade` values('3','钻石会员店','50','200','6','2800元/年','1','','editor_multimedia,coupon,groupbuy,enable_radar','default|default,default|style1,default|style2,default|style3,default|style4,default|style5','255');");
E_D("replace into `ecm_sgrade` values('4','皇冠会员店','68','150','7','4800元/年','1','','editor_multimedia,coupon,groupbuy,enable_radar','default|default,default|style1,default|style2,default|style3,default|style4,default|style5,default|style6','255');");
E_D("replace into `ecm_sgrade` values('5','旗舰会员店','88','200','10','5800元/年','1','','editor_multimedia,coupon,groupbuy,enable_radar','default|default,default|style1,default|style2,default|style3,default|style4,default|style5,default|style6,default|style7,default|style8,moolau|default','255');");
E_D("replace into `ecm_sgrade` values('6','品牌馆','101','100','10','6888/年','1','','editor_multimedia,coupon,groupbuy,enable_radar','default|default,default|style1,default|style2,default|style3,default|style4,default|style5,default|style6,default|style7,default|style8,moolau|default','255');");

require("../../inc/footer.php");
?>